import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listReports(query) {
  return request({
    url: '/cash/reports/list', 
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getReports(reportId) {
  return request({
    url: '/cash/reports/' + reportId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addReports(data) {
  return request({
    url: '/cash/reports',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateReports(data) {
  return request({
    url: '/cash/reports',
    method: 'post',
    data: data
  })
}

// 审核【请填写功能名称】
export function auditCashReport(data) {
  return request({
    url: '/cash/reports/auditCashReport',
    method: 'post',
    data: data
  })
}

// 删除【请填写功能名称】
export function delReports(reportId) {
  return request({
    url: '/cash/reports/' + reportId,
    method: 'delete'
  })
}
